package com.zt.proxy.dto;


import com.zt.proxy.model.MethodModel;

import lombok.Data;

@Data
public class MethodModelDTO {


    private String interfaceName;

    private String methodKey;

    private String methodName;

    private String methodText;

    public MethodModelDTO() {

    }

    public MethodModelDTO(MethodModel model) {

        this.methodKey = model.getKey();
        this.methodName = model.getMethod().getName();
        this.methodText = model.getMethodText();
    }
}
